﻿using System;
namespace Producers.Rr.Xtee.Riik.Ee.Producer.Rr {
    
    
    public partial class Kodif : global::Producers.Rr.Xtee.Riik.Ee.Producer.Rr.IKodif {
        
        private string @__kood;
        
        private string @__nimi;
        
        public Kodif() {
        }
        
        /// <summary>
        /// All parameters
        /// </summary>
        public Kodif(string @kood, string @nimi) {
            this.@__kood = @kood;
            this.@__nimi = @nimi;
        }
        
        /// <summary>
        /// Required parameters
        /// </summary>
        public Kodif(string @kood) {
            this.@__kood = @kood;
        }
        
        /// <summary>
        /// Copy Constructor
        /// </summary>
        protected Kodif(IKodif @kodif) {
            this.@__kood = @kodif.Kood;
            this.@__nimi = @kodif.Nimi;
        }
        
        public virtual string Kood {
            get {
                return this.@__kood;
            }
            set {
                this.@__kood = value;
            }
        }
        
        public virtual string Nimi {
            get {
                return this.@__nimi;
            }
            set {
                this.@__nimi = value;
            }
        }
    }
}
